package com.atguigu.gmall.mq.service;

import com.rabbitmq.client.Channel;

import java.io.IOException;

public interface RabbitService {
    void sendMsg(String exchange, String routeKey, Object msg);

    void retry(long deliveryTag, Channel channel, String json, int retryCount) throws IOException;

}
